package com.xdap.water.pojo;

import com.definesys.mpaas.query.annotation.Column;
import com.definesys.mpaas.query.annotation.ColumnType;
import com.definesys.mpaas.query.annotation.Style;
import com.definesys.mpaas.query.annotation.Table;
import com.definesys.mpaas.query.json.MpaasDateSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Table("gt_wcqk_z")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class GtFixedInvestCompleteStatusPojo extends SystemCommonPojo {
    @JsonSerialize(using = MpaasDateSerializer.class)
    @Style(displayName = "填报日期")
    @Column("tb_date")
    private Date fillDate;

    @Style(displayName = "项目总数")
    @Column("xmzs")
    private Integer projectTotal;

    @Style(displayName = "年度任务总计")
    @Column("ndrwzj")
    private Double yearTaskTotal;

    @Style(displayName = "环水集团任务占比（%）")
    @Column("hsjtzb")
    private Double waterGroupTaskRate;

    @Style(displayName = "已完成投资进度总额")
    @Column("ywcze")
    private Double completedAmount;

    @Style(displayName = "总完成率（%）")
    @Column("zwcl")
    private Double totalRate;

    @Style(displayName = "环水集团完成额占比（%）")
    @Column("hsjtwcezb")
    private Double waterGroupCompletedRate;

    @Style(displayName = "比较值（%）")
    @Column("bjz")
    private Double compareValue;

    // ---------------- java 字段
    @Style(displayName = "责任单位完成情况")
    @Column(type = ColumnType.JAVA)
    private List<GtUnitCompleteStatusPojo> unitCompleteStatusPojoList;
}
